* {
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
body {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 14px;
  color: white;
  line-height: 1.5;
}

header {
  width: 100%;
  height: 100px;
  background: rgb(219, 55, 43);
}
/* 地址和通知栏 */
ul {
  height: 45px;
  position: relative;
}
header ul li {
  float: left;
  height: 100%;
  line-height: 45px;
}
header ul li:nth-child(1) {
  width: 6%;
  height: 100%;
  text-align: center;
  line-height: 45px;
}
header ul li:nth-child(1) img {
  width: 26px;
  position: absolute;
  top: 10px;
  left: 5px;
}
header ul li:nth-child(2) {
  width: 33%;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
}
header ul li:nth-child(2)::after {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  left: 39%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid white;
}
header ul li:nth-child(3) {
  width: 61%;
  /* position:relative; */
}
header ul li:nth-child(3) img {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 15px;
  top: 6px;
}
header ul li:nth-child(3) p {
  width: 17px;
  height: 17px;
  border-radius: 17px;
  font-size: 2px;
  color: white;
  position: absolute;
  right: 15px;
  top: 6px;
}
/* 搜索框 */
.search-wrap {
  height: 45px;
  text-align: center;
  padding: 7px 20px;
}
.search {
  width: 100%;
  height: 35px;
  background-color: white;
  border-radius: 50px;
  position: relative;
  /* margin: 4px auto; */
  /* float: left; */
}
.search-icon {
  width: 7%;
  height: 100%;
}
.search-icon img {
  height: 25px;
  margin-top: 3px;
}

.search-input {
  width: 70%;
  height: 30px;
  border: transparent;
  border: 1px solid red;
  color: rgb(44, 44, 44);
  font-size: 15px;
  font-weight: 600;
  position: absolute;
  top: 0.5px;
  left: 38px;
  outline: none;
}
.search-input::-webkit-input-placeholder {
  color: rgb(202, 202, 202);
}

/* 主体内容 */
/* 幻灯片和分类 */
.content-wrap {
  width: 100%;
  height:auto;
}
.slide-nav {
  width: 100%;
  height: 350px;
  /* border: 1px solid red; */
  overflow: hidden;
  background-image: radial-gradient(circle at 50% -100%, rgb(219,55,43) 70%,white 10%);
}
.content {
  width: 90%;
  height: 50%;
  /* background-color: black; */
  margin: 20px auto 30px;
  border-radius: 20px;
  overflow: hidden;
}
.content img {
  width: 100%;
}
.nav-classify {
  width: 90%;
  height: 26%;
  /* background-color: red; */
  margin: 0 auto;
}
.nav-classify ul {
  height: 100%;
  display: flex;
  justify-content: space-between;
}
.nav-classify ul li {
  height: 98%;
  width: 15%;
  /* border: 1px solid black; */
  text-align: center;
  color: black;
  font-weight: 600;
}
.nav-classify ul li img {
  height: 70%;
  border-radius: 50%;
}
.nav-classify ul li p {
  height: 25%;
  border-radius: 50%;
}
/* 菜品分类和菜品展示 */
.dish-classify-display{
    width:100%;
    background-color: rgb(245,245,245);
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* 菜品分类 */
.dish-classify{
    width: 90%;
    height: 80px;
    /* border:1px solid red; */

}
.dish-classify ul{
    width:100%;
    height:100%;
    display: flex;
    justify-content: space-between;
    align-items:center;
}
.dish-classify ul li{
    width:20%;
    height:70%;
    /* text-align: center; */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.dish-classify ul li p{
    color: black;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 17px;
}

.dish-classify ul li p:nth-child(2){
    width:80%;
    text-align: center;
    font-weight: 500;
    font-size: 13.5px;
    border-radius: 10px;
}
.dish-classify ul li p:nth-child(2):hover{
    cursor: pointer;
    background-color: red;
    color: white;
    border-radius: 10px;
}
/* 菜品展示 */
.dish-display{
    width:90%;
    /* height:200px; */
    /* border: 1px solid yellowgreen; */
}
.dish-display ul{
    width:100%;
    height: auto;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;

}
.dish-display ul li{
    width:45%;
    /* height:320px; */
    height: auto;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
}
.dish-img{
    width:100%;
}
.sell-out::before{
    content:"";
    display: block;
    background:url("../images/icon-sell-out1.png") no-repeat center;
    /* background-color: rgb(219, 55, 43); */
    background-size: contain;
    width:15%;
    height:100px;
    position: absolute;
    bottom: 3px;
    right:10px
}
.dish-display ul li p{
     color: black;
    font-weight: 600;
    font-size: 18px;
    margin-left: 10px;
    
}
.dish-name{
    margin-bottom: 7px;
}
.dish-price{
    color: rgb(221,65,54);
    font-size: 18px;
}
.number{
    color:rgb(202, 202, 202);
    font-weight: normal;
    font-size: 15px;
}
.dish-add-icon{
    width:10%;
    position: absolute;
    bottom: 3px;
    right:10px
}
.dish-add-icon:hover{
    cursor: pointer;
}
.tips-wrap{
    width: 100%;
    height:350px;
    overflow: hidden;
    background-color: rgb(245,245,245);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tip-head{
    width: 100%;
    height: 60px;
    background-color: white;
    /* background-color: blanchedalmond; */
    padding: 11px 51px 0 25px;
    box-sizing: border-box;
    position: relative;
}
.tip-head span:nth-child(1){
    color: black;
    font-size: 20px;
    font-weight: 600;
}
.tip-head span:nth-child(2){
    color: rgb(102,102,102);
    float:right;
    
}
.tip-head span:nth-child(2)::after{
    content: "";
    display: block;
    height:0;
    width: 0;
    /* background-color: rgb(202, 202, 202); */
    position: absolute;
    top: 15px;
    right: 36px;
    width: 0;
    height: 0;
    border-top: 7px solid white;
    border-bottom: 7px solid white;
    border-left: 8px solid rgb(202, 202, 202);
    

}
.tip-content{
    width: 100%;
    height:270px;
    background-color: white;
    display: flex;
    justify-content: center;
}
.tip-content ul{
    width: 93%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.tip-content ul li {
    width:100%;
    height: 125px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* overflow: hidden; */
}
.tips-img{
    width: 45%;
    height:100%;
    background: url(../images/img.png) no-repeat center;
    background-size: cover;
    border-radius: 10px;
}
.tips-text{
    width: 50%;
}
.tips-text a{
    color:black;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
}
.tips-text span{
    color:rgb(102,102,102);
    display: inline-block;
    width:60%;
}

/* 尾部 */
.footer-wrap{
    width: 100%;
    height:60px;
    background-color: white;
    position:fixed;
}
.footer-wrap ul{
    width:100%;
    height:100%;
    display: flex;
    justify-content: space-around;

}
.footer-wrap ul li{
    width:15%;
    height:100%;
    color: black;
    text-align: center;
}
.footer-wrap ul li:nth-child(1) div{
    width:100%;
    height:100%;
    background: url(../images/tab-index.png) no-repeat center;
    background-size: contain;
}
.footer-wrap ul li:nth-child(1) div:hover{
    background: url(../images/tab-index-active.png) no-repeat center;
}
.footer-wrap ul li:nth-child(2) div{
    width:100%;
    height:100%;
    background: url(../images/tab-category.png) no-repeat center;
    background-size: contain;
}
.footer-wrap ul li:nth-child(2) div:hover{
    background: url(../images/tab-category-active.png) no-repeat center;

}
.footer-wrap ul li:nth-child(3) div{
    width:100%;
    height:100%;
    background: url(../images/tab-cart.png) no-repeat center;
    background-size: contain;
}
.footer-wrap ul li:nth-child(3) div:hover{
    background: url(../images/tab-cart-active.png) no-repeat center;

}
.footer-wrap ul li:nth-child(4) div{
    width:100%;
    height:100%;
    background: url(../images/tab-mine.png) no-repeat center;
    background-size: contain;
}
.footer-wrap ul li:nth-child(4) div:hover{
    background: url(../images/tab-mine-active.png) no-repeat center;

}

